package com.cskaoyan.service;

import com.cskaoyan.bean.BasePageData;
import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.Comment;
import com.cskaoyan.bean.wx.vo.CommmentPostBO;
import com.cskaoyan.bean.wx.vo.WxCommentCountVO;
import com.cskaoyan.bean.wx.vo.WxCommentPageData;

public interface CommentService {
    BasePageData selectComment(Integer userId, Integer valueId, BaseParam param);

    void updateContent(Integer commentId, String content);

    void deleteComment(Comment comment);

    WxCommentPageData queryCommentListByValueIdAndTypeAndshowType(String valueId, Integer type, Integer showType, BaseParam baseParam);

    WxCommentCountVO countCommentByValueidAndType(String valueId, Integer type);

    int insertComment(CommmentPostBO commmentPostBO);
}
